package com.androidmvp.dreammvp.simple7.base;

/**
 * Created by admin on 2017/9/5.
 */

//第一重封装：抽象解绑和绑定(MvpCallback)
public interface MvpCallback<V extends MvpView,P extends MvpPresenter<V>> {

    P createPresenter();
    V createView();
    void setPresenter(P presenter);
    P getPresenter();
    void setView(V view);
    V getView();

}
